Communication with an external source application

ABSTRACT

Methods and apparatus, including computer program products, for communication with an external source application. In one aspect, the methods include determining in an independent reader application residing on a client computing system whether a property of an electronic package received and displayed from a source application residing on a server computing system is enabled, determining an authentication of the source application, and enabling a user interface-like communications channel between elements of the electronic package and the source application only if the property is enabled and the source application authenticated, wherein elements of the displayed electronic package are sent to and incorporated by the source application upon authentication of the property of the electronic package and the property of the source application.

BACKGROUND OF THE INVENTION

The present invention relates to communication with an external source application.

Adobe® portable document format (PDF) is a file format that captures all the elements of a printed document as an electronic image that one can view, navigate, print, or forward. PDF files are generated using Adobe® Reader®, Acrobat® Capture, or similar products from Adobe Corporation. Adobe® Reader® is an application that is used to view PDF files. The Adobe® Reader® is free and can be used as a plug-in with a Web browser, such as Mozilla Firefox, or started by itself.

With the growing usage of portable document format readers such as the free Adobe® Reader®, application developers seek to-selectively allow communication between a document viewed using a reader application and a source application.

SUMMARY OF THE INVENTION

The present invention provides methods and apparatus, including computer program products, for communication with an external source application.

In general, in one aspect, the invention features a computer-implemented method including receiving an electronic package from a source application residing on a network server for display by a reader application independent of the source application, and enabling a communications channel between elements of the electronic package displayed by the reader application and the source application based on a property of the electronic package and a property of the source application, wherein elements of the displayed electronic package can be sent to and incorporated by the source application upon authentication of the property of the electronic package and the property of the source application.

The invention can be implemented to include one or more of the following advantageous features. The property of the electronic package can be a usage right. The usage right can be protected by a digital signature.

In embodiments, the property of the source application can be an authentication indication between the reader application displaying the electronic package and the server. The authentication indication can include an exchange and verification of derived values between the reader application displaying the electronic package and the source application. The reader application can include an electronic document reader application. The electronic document reader application can be a Portable Document Format (PDF) document reader application. The electronic document reader application can be an extended markup language (XML) reader application. The reader application can reside on a client.

In general, in another aspect, the invention features a computer-implemented method including determining in an independent reader application residing on a client computing system whether a property of an electronic package received and displayed from a source application residing on a server computing system is enabled, determining an authentication of the source application, and enabling a user interface-like communications channel between elements of the electronic package and the source application only if the property is enabled and the source application authenticated, wherein elements of the displayed electronic package are sent to and incorporated by the source application upon authentication of the property of the electronic package and the property of the source application.

The invention can be implemented to include one or more of the following advantageous features. The property of the electronic package can be a usage right. Determining the authentication of the source application can include issuing a challenge from the reader application to the source application as a number, in the server computing system, generating a source application derived value from the number, in the client computing system, generating a client derived value from the number, and determining whether the source application derived value matches the client derived value.

In embodiments, the reader application can be an electronic document reader application. The electronic document reader application can be a Portable Document Format (PDF) document reader. The reader application can be an extended markup language (XML) reader.

The property of an electronic package can be protected by a digital signature. The number can be protected by a digital signature.

The invention can be implemented to realize one or more of the following advantages. The method enables user interface (UI) like interaction via a communication channel between elements of an electronic package displayed by a reader application, such as a Portable Document Format (PDF) document or an XML document, and a source application based on a property of the electronic package and an authentication of the source of electronic package, e.g., server.

External communication in a user interface manner between a reader application and an external source application is enabled only if usage rights are set in an electronic package and an authentication of a source of the electronic package.

The method enables communication between a reader application and an external application. When the electronic package is loaded by the reader application, the method checks that the electronic package has a special usage right, which is embedded in the package and protected by a digital signature. This enables a user of a reader application to save changes that the user makes to the displayed package. If the usage right is present in the electronic package, the method checks which server the electronic package originates from. The method issues a challenge from the reader application to the server in the form of a number. The server manipulates the number and returns a derived number. A reader application client performs the same bit manipulations. If the manipulations match, the server where the package originated is authenticated and external communication is enabled between the reader application to an external application residing on the source computing device.

One implementation of the invention provides all of the above advantages.

Other features and advantages of the invention are apparent from the following description, and from the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram.

FIG. 2 is a flow diagram.

Like reference numbers and designations in the various drawings indicate like

DETAILED DESCRIPTION

As shown in FIG. 1, an exemplary network 10 includes a client computer system 12 linked to an application server 14. The client computer system 12 can include a processor 16 and memory 18. Memory 18 includes an operating system 20, such as Windows or Linux, and a reader application process 100. The application server 14 can include a memory 22 and processor 23. Memory 22 includes an operating system 24 and an source application program 28. The source application program 28 generates electronic packages, such as documents, which are read by the reader application process 100. The reader application process 100 is independent of the source application program 28. The application server 14 can also include a storage device 30.

In one particular example, the reader application process 100 is incorporated into a Portable Document Format (PDF) reader application, such as Adobe® Reader®. The PDF reader application can be used as a plug-in with a Web browser, such as Mozilla Firefox, or started by itself. In other examples, the reader application process 100 is incorporated into an extended markup language (XML) reader.

As shown in FIG. 2, the reader application process 100 includes determining (102) whether a property of an electronic package, such as an electronic document, received from a source application residing on a server, is enabled. In a particular example, the property of the electronic package is a usage right and process 100 determines whether this usage right is enabled in the received electronic package. In one particular example, this property of the electronic package is protected by a digital signature. A digital signature is an electronic signature that can be used to authenticate the identity of the sender of a message or the signer of an electronic package, and to ensure that the original content of the message or electronic package that has been sent is unchanged. Digital signatures are easily transportable, cannot be imitated by someone else, and can be automatically time-stamped.

Process 100 determines (104) an authentication of the source application originating the electronic package. Only authenticated sources can undergo further processing. In one particular example, determining (104) an authentication of the source application includes issuing a challenge to the source application. For example, the challenge can include a number. In response, the source application derives a value from the received number. The same number is used in a client reader application to generate a client reader application derived value. Process 100 determines whether the source application derived value matches the client reader application derived value. In some implementations, the number is protected by a digital signature.

Process 100 provides (106) a communications channel between the reader application displaying elements of the electronic package and the source application in a user interface (UI)-like manner only if the property is enabled and the source application authenticated. Here, the communications channel allows fields displayed by the reader application and associated with the electronic package to be modified by a user. The modified fields are then sent via the communications channel from the reader application to the source application and utilized by the source application. Without an enabled usage right and an authenticated source application the reader application merely displays the electronic package; no selective fields can be modified. When the usage right is enabled and the source application authenticated the communication channel is enabled, providing an interface between the displayed electronic package and the source application. Here, the user can modify selected displayed fields of the electronic package and the source application accepts the information for incorporation into the source application. In effect, the reader application enables a point of communication and interaction between the user and the source application.

In one particular example, the reader application is a Portable Document Format (PDF) document reader, such as Adobe® Reader, displaying fields of the electronic package in a PDF document. In other particular applications, the reader application is an extended markup language (XML) reader, such as SAX, DOM, JDOM or JAXP, displaying fields of an XML document. These readers are application program interfaces (APIs) used for XML processing.

Example electronic packages include document forms such as tax information forms, employee information forms, and so forth.

Embodiments of the invention can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Embodiments of the invention can be implemented as a computer program product, i.e., a computer program tangibly embodied in an information carrier, e.g., in a machine readable storage device or in a propagated signal, for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers. A computer program can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.

Method steps of embodiments of the invention can be performed by one or more programmable processors executing a computer program to perform functions of the invention by operating on input data and generating output. Method steps can also be performed by, and apparatus of the invention can be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).

Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. Information carriers suitable for embodying computer program instructions and data include all forms of non volatile memory, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in special purpose logic circuitry.

The invention can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the invention, or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (“LAN”) and a wide area network (“WAN”), e.g., the Internet.

The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.

It is to be understood that the foregoing description is intended to illustrate and not to limit the scope of the invention, which is defined by the scope of the appended claims. Other embodiments are within the scope of the following claims. 

1. A computer-implemented method comprising: receiving an electronic package from a source application residing on a network server for display by a reader application independent of the source application; and enabling a communications channel between elements of the electronic package displayed by the reader application and the source application based on a property of the electronic package and a property of the source application, wherein elements of the displayed electronic package are sent to and incorporated by the source application upon authentication of the property of the electronic package and the property of the source application.
 2. The computer-implemented method of claim 1 wherein the property of the electronic package is a usage right.
 3. The computer-implemented method of claim 2 wherein the usage right is protected by a digital signature.
 4. The computer-implemented method of claim 1 wherein the property of the source application is an authentication indication between the reader application displaying the electronic package and the server.
 5. The computer-implemented method of claim 4 wherein the authentication indication comprises an exchange and verification of derived values between the reader application displaying the electronic package and the source application.
 6. The computer-implemented method of claim 1 wherein the reader application comprises an electronic document reader application.
 7. The computer-implemented method of claim 6 wherein the electronic document reader application is a Portable Document Format (PDF) document reader application.
 8. The computer-implemented method of claim 6 wherein the electronic document reader application is an extended markup language (XML) reader application.
 9. The computer-implemented method of claim 6 wherein the reader application resides on a client.
 10. A computer-implemented method comprising: determining in an independent reader application residing on a client computing system whether a property of an electronic package received and displayed from a source application residing on a server computing system is enabled; determining an authentication of the source application; and enabling a user interface-like communications channel between elements of the electronic package and the source application only if the property is enabled and the source application authenticated, wherein elements of the displayed electronic package are sent to and incorporated by the source application upon authentication of the property of the electronic package and the property of the source application.
 11. The computer-implemented method of claim 10 wherein the property of the electronic package is a usage right.
 12. The computer-implemented method of claim 10 wherein determining the authentication of the source application comprises: issuing a challenge from the reader application to the source application as a number; in the server computing system, generating a source application derived value from the number; in the client computing system, generating a client derived value from the number; and determining whether the source application derived value matches the client derived value.
 13. The computer-implemented method of claim 10 wherein the reader application is an electronic document reader application.
 14. The computer-implemented method of claim 13 wherein the electronic document reader application is a Portable Document Format (PDF) document reader.
 15. The computer-implemented method of claim 12 wherein the reader application is an extended markup language (XML) reader.
 16. The computer-implemented method of claim 12 wherein the property of an electronic package is protected by a digital signature.
 17. The computer-implemented method of claim 12 wherein the number is protected by a digital signature.
 18. A computer program product, tangibly embodied in an information carrier, for communication between an independent reader application and a source application, the computer program product being operable to cause data processing apparatus to: receive an electronic package from the source application residing on a network server for display by the reader application independent from the source application; and enable a communications channel between elements of the electronic package displayed by the reader application and the source application based on a property of the electronic package and a property of the source application, wherein elements of the displayed electronic package are sent to and incorporated by the source application.
 19. The computer program product of claim 18 wherein the property of the electronic package is a usage right.
 20. The computer program product of claim 19 wherein the usage right is protected by a digital signature.
 21. The computer program product of claim 18 wherein the property of the source application is an authentication indication between the reader application displaying the electronic package and the source application.
 22. The computer program product of claim 21 wherein the authentication indication comprises an exchange and verification of derived values between the reader application displaying the electronic package and the source application.
 23. The computer program product of claim 18 wherein the reader application comprises an electronic document reader application.
 24. The computer program product of claim 23 wherein the electronic document reader application is a Portable Document Format (PDF) document reader application.
 25. The computer program product of claim 23 wherein the electronic document reader application is an extended markup language (XML) reader application.
 26. The computer program product of claim 23 wherein the reader application resides on a client.
 27. A computer program product, tangibly embodied in an information carrier, for communication with a source application, the computer program product being operable to cause data processing apparatus to: determine in an independent reader application residing on a client computing system whether a property of an electronic package received and displayed from a source application residing on a server computing system is enabled; determining an authentication of the source application; and providing user interface-like communications channel between elements of the electronic package and the source application only if the property is enabled and the source application authenticated, wherein elements of the displayed electronic package are sent to and incorporated by the source application.
 28. The computer program product of claim 27 wherein the property of the electronic package is a usage right.
 29. The computer program product of claim 27 wherein determining the authentication of the source application comprises: issuing a challenge from the reader application to the source application as a number; in the server computing system, generating a source application derived value from the number; in the client computing system, generating a client derived value from the number; and determining whether the source application derived value matches the client derived value.
 30. The computer program product of claim 27 wherein the reader application is an electronic document reader application.
 31. The computer program product of claim 30 wherein the electronic document reader application is a Portable Document Format (PDF) document reader.
 32. The computer program product of claim 29 wherein the reader application is an extended markup language (XML) reader.
 33. The computer program product of claim 29 wherein the property of an electronic package is protected by a digital signature.
 34. The computer program product of claim 29 wherein the number is protected by a digital signature.
 35. A computer-implemented method comprising: generating an electronic form with a key from a software application residing on a server system; and sending the form with the key to a reader application residing on a client system, the software application authenticating itself to the reader application as a program to which the key is assigned.
 36. The computer-implemented method of claim 35 wherein the key is previously assigned to the software application for use in the form.
 37. The computer-implemented method of claim 35 wherein the key is a usage right.
 38. The computer-implemented method of claim 35 wherein the key is a digital signature.
 39. The computer-implemented method of claim 35 wherein the reader application is a Portable Document Format (PDF) reader application.
 40. The computer-implemented method of claim 35 wherein the reader application is an extended markup language (XML) reader application.
 41. The computer-implemented method of claim 35 further comprising enabling a communication channel between elements of the form and the reader application wherein the elements of the form are incorporated by the software application upon authentication of the form and key.
 42. A computer program product, tangibly embodied in an information carrier, for communicating between a reader application and a source application, the computer program product being operable to cause data processing apparatus to: generate an electronic form with a key from a software application residing on a server system; and send the form with the key to a reader application residing on a client system, the software application authenticating itself to the reader application as a program to which the key is assigned.
 43. The computer program product of claim 42 wherein the key is previously assigned to the software application for use in the form.
 44. The computer program product of claim 42 wherein the key is a usage right.
 45. The computer program product of claim 42 wherein the key is a digital signature.
 46. The computer program product of claim 42 wherein the reader application is a Portable Document Format (PDF) reader application.
 47. The computer program product of claim 42 wherein the reader application is an extended markup language (XML) reader application.
 48. The computer program product of claim 42 further causing data processing apparatus to: enable a communication channel between elements of the form and the reader application wherein the elements of the form are incorporated by the software application upon authentication of the form and key. 